interface Flyable{
        void start();
	void fly();
        void stop();
     }

class Aeroplane implements Flyable{
       public void start(){
          System.out.println("Flight is starting");
         }
        public void fly(){
           System.out.println("Flight Departures");
        }
        public void stop(){
           System.out.println("Flight stops");
        }
}
class Helicopter implements Flyable{
       public void start(){
          System.out.println("Helicopter is starting");
         }
        public void fly(){
           System.out.println("Helicopter Departures");
        }
        public void stop(){
           System.out.println("Helicopter stops");
        }
}
class jet implements Flyable{
       public void start(){
          System.out.println("Jet is starting");
         }
        public void fly(){
           System.out.println("Jet Departures");
        }
        public void stop(){
           System.out.println("Jet stops");
        }
}

         
class test{
           public static void main(String[] args)
            {
               Aeroplane a1 = new Aeroplane();
               Flyable a2 = new Aeroplane();
               a2.start();
             }
}
         
         
